using System;
using Moon.Orm;
using System.Collections.Generic;
namespace oo{
public class Userdate:EntityBase{
	public Userdate():base(){
	SetEntityName("[Userdate]");
	SetFieldsCount(11);
	SetPrimaryField(UserdateTable.ID);
	SetIsSystemSetPrimaryKey(true);
	}
	private Int32   _ID;
	[Field(true,"ID")]
	public Int32 ID{
	get{return _ID;}
	set{
		_ID=value;
	}
	}
	private String   _Title;
	[Field(false,"Title")]
	public String Title{
	get{return _Title;}
	set{
		_Title=value;
		this.FieldsChangedDictionary["[Title]"]=value;
}
	}
	private DateTime?   _start;
	[Field(false,"start")]
	public DateTime? start{
	get{return _start;}
	set{
		_start=value;
		this.FieldsChangedDictionary["[start]"]=value;
}
	}
	private DateTime?   _end;
	[Field(false,"end")]
	public DateTime? end{
	get{return _end;}
	set{
		_end=value;
		this.FieldsChangedDictionary["[end]"]=value;
}
	}
	private Int32?   _UserID;
	[Field(false,"UserID")]
	public Int32? UserID{
	get{return _UserID;}
	set{
		_UserID=value;
		this.FieldsChangedDictionary["[UserID]"]=value;
}
	}
	private String   _fullname;
	[Field(false,"fullname")]
	public String fullname{
	get{return _fullname;}
	set{
		_fullname=value;
		this.FieldsChangedDictionary["[fullname]"]=value;
}
	}
	private String   _confname;
	[Field(false,"confname")]
	public String confname{
	get{return _confname;}
	set{
		_confname=value;
		this.FieldsChangedDictionary["[confname]"]=value;
}
	}
	private String   _confshortname;
	[Field(false,"confshortname")]
	public String confshortname{
	get{return _confshortname;}
	set{
		_confshortname=value;
		this.FieldsChangedDictionary["[confshortname]"]=value;
}
	}
	private Boolean?   _allDay;
	[Field(false,"allDay")]
	public Boolean? allDay{
	get{return _allDay;}
	set{
		_allDay=value;
		this.FieldsChangedDictionary["[allDay]"]=value;
}
	}
	private String   _topic;
	[Field(false,"topic")]
	public String topic{
	get{return _topic;}
	set{
		_topic=value;
		this.FieldsChangedDictionary["[topic]"]=value;
}
	}
	private String   _description;
	[Field(false,"description")]
	public String description{
	get{return _description;}
	set{
		_description=value;
		this.FieldsChangedDictionary["[description]"]=value;
}
	}
	}

public class UserdateTable{
	public static readonly Field ID=new Field("[ID]",true,"[Userdate]" );
	public static readonly Field Title=new Field("[Title]",false,"[Userdate]" );
	public static readonly Field start=new Field("[start]",false,"[Userdate]" );
	public static readonly Field end=new Field("[end]",false,"[Userdate]" );
	public static readonly Field UserID=new Field("[UserID]",false,"[Userdate]" );
	public static readonly Field fullname=new Field("[fullname]",false,"[Userdate]" );
	public static readonly Field confname=new Field("[confname]",false,"[Userdate]" );
	public static readonly Field confshortname=new Field("[confshortname]",false,"[Userdate]" );
	public static readonly Field allDay=new Field("[allDay]",false,"[Userdate]" );
	public static readonly Field topic=new Field("[topic]",false,"[Userdate]" );
	public static readonly Field description=new Field("[description]",false,"[Userdate]" );
}

public class UserGroup:EntityBase{
	public UserGroup():base(){
	SetEntityName("[UserGroup]");
	SetFieldsCount(4);
	SetPrimaryField(UserGroupTable.ID);
	SetIsSystemSetPrimaryKey(false);
	}
	private Int32   _ID;
	[Field(true,"ID")]
	public Int32 ID{
	get{return _ID;}
	set{
		_ID=value;
	}
	}
	private String   _NameGroup;
	[Field(false,"NameGroup")]
	public String NameGroup{
	get{return _NameGroup;}
	set{
		_NameGroup=value;
		this.FieldsChangedDictionary["[NameGroup]"]=value;
}
	}
	private String   _addrees;
	[Field(false,"addrees")]
	public String addrees{
	get{return _addrees;}
	set{
		_addrees=value;
		this.FieldsChangedDictionary["[addrees]"]=value;
}
	}
	private Int32?   _UserID;
	[Field(false,"UserID")]
	public Int32? UserID{
	get{return _UserID;}
	set{
		_UserID=value;
		this.FieldsChangedDictionary["[UserID]"]=value;
}
	}
	}

public class UserGroupTable{
	public static readonly Field ID=new Field("[ID]",true,"[UserGroup]" );
	public static readonly Field NameGroup=new Field("[NameGroup]",false,"[UserGroup]" );
	public static readonly Field addrees=new Field("[addrees]",false,"[UserGroup]" );
	public static readonly Field UserID=new Field("[UserID]",false,"[UserGroup]" );
}

public class UserTable:EntityBase{
	public UserTable():base(){
	SetEntityName("[UserTable]");
	SetFieldsCount(3);
	SetPrimaryField(UserTableTable.ID);
	SetIsSystemSetPrimaryKey(true);
	}
	private Int32   _ID;
	[Field(true,"ID")]
	public Int32 ID{
	get{return _ID;}
	set{
		_ID=value;
	}
	}
	private String   _Name;
	[Field(false,"Name")]
	public String Name{
	get{return _Name;}
	set{
		_Name=value;
		this.FieldsChangedDictionary["[Name]"]=value;
}
	}
	private Int32?   _GroupID;
	[Field(false,"GroupID")]
	public Int32? GroupID{
	get{return _GroupID;}
	set{
		_GroupID=value;
		this.FieldsChangedDictionary["[GroupID]"]=value;
}
	}
	}

public class UserTableTable{
	public static readonly Field ID=new Field("[ID]",true,"[UserTable]" );
	public static readonly Field Name=new Field("[Name]",false,"[UserTable]" );
	public static readonly Field GroupID=new Field("[GroupID]",false,"[UserTable]" );
}

public class Jurisdiction:EntityBase{
	public Jurisdiction():base(){
	SetEntityName("[Jurisdiction]");
	SetFieldsCount(3);
	SetPrimaryField(JurisdictionTable.ID);
	SetIsSystemSetPrimaryKey(true);
	}
	private Decimal   _ID;
	[Field(true,"ID")]
	public Decimal ID{
	get{return _ID;}
	set{
		_ID=value;
	}
	}
	private String   _Catalog;
	[Field(false,"Catalog")]
	public String Catalog{
	get{return _Catalog;}
	set{
		_Catalog=value;
		this.FieldsChangedDictionary["[Catalog]"]=value;
}
	}
	private Int32?   _UserID;
	[Field(false,"UserID")]
	public Int32? UserID{
	get{return _UserID;}
	set{
		_UserID=value;
		this.FieldsChangedDictionary["[UserID]"]=value;
}
	}
	}

public class JurisdictionTable{
	public static readonly Field ID=new Field("[ID]",true,"[Jurisdiction]" );
	public static readonly Field Catalog=new Field("[Catalog]",false,"[Jurisdiction]" );
	public static readonly Field UserID=new Field("[UserID]",false,"[Jurisdiction]" );
}

}
